package cn.edu.bit.dto;

import java.io.Serializable;

public class WebPage implements Serializable{
	
	private static final long serialVersionUID = 1L;
	private String URL;
	private String title;
	private String content;
	
	public WebPage(){}
	
	public WebPage(String url, String title, String content) {
		super();
		URL = url;
		this.title = title;
		this.content = content;
	}
	public String getURL() {
		return URL;
	}
	public void setURL(String url) {
		URL = url;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	
	public String toString(){
		return URL+title+content;
	}
	

}
